package com.okami.controller;

import com.okami.entity.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: TanJingyu
 * @create: 2020-11-05 16:10
 **/
@RestController
@RequestMapping("/token")
public class TokenController {

    @RequestMapping("/check")
    public Object check(String token) {
        return new User().setUserName("张飞").setPassword("123456");
    }

}
